using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TemplateWeb.Models.ViewModels
{
	#region using
	using System.Web.Mvc;
	using TemplateWeb.Models;
	#endregion
	public class NhaDatViewModel
	{
		public GetNhaDatViewModel GetModel { get; set; }
		public EditNhaDatViewModel EditModel { get; set; }
		public AddNhaDatViewModel AddModel { get; set; }
		public NhaDatReferKeys ReferKeys { get; set; }
	}
	public class GetNhaDatViewModel
	{
		public List<NhaDat> LstObjModel { get; set; }
		public int TotalItem { get; set; }
		public int CurrentPage { get; set; }
	}

	public class EditNhaDatViewModel
	{
		public int ID { get; set; }
		public bool Edited { get; set; }
	}

	public class AddNhaDatViewModel
	{
		public int IDLoaiBatDongSan { get; set; }
		public int IDQuanHuyen { get; set; }
		public int IDLoaiGia { get; set; }
		public Guid IDNguoiDang { get; set; }
		public long Gia { get; set; }
		public string DiaChi { get; set; }
		public int DienTichNgang { get; set; }
		public int DienTichDoc { get; set; }
		public double DienTichXayDung { get; set; }
		public double DienTichSuDung { get; set; }
		public bool CoSoHong { get; set; }
		public string TieuDe { get; set; }
		public string NoiDung { get; set; }
		public string NoiDungRutGon { get; set; }
		public DateTime NgayDang { get; set; }
		public bool TinVip { get; set; }
		public string HinhMinhHoa { get; set; }
		public bool Added { get; set; }
	}

	public class NhaDatReferKeys
	{
		public int IDLoaiBatDongSan;
		public int IDQuanHuyen;
		public int IDLoaiGia;
		public Guid IDNguoiDang;
	}

}